package org.hnxxxy.ebms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.hnxxxy.ebms.common.Result;
import org.hnxxxy.ebms.pojo.Plan;
import org.hnxxxy.ebms.pojo.Role;
import org.hnxxxy.ebms.pojo.Student;
import org.hnxxxy.ebms.vo.StudentResponseVo;
import org.hnxxxy.ebms.vo.TeaStudentVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WANGWEI
 * @since 2021-06-15
 */
public interface StudentService extends IService<Student> {

    Result<IPage<Student>> getStudents(int page);

    Result<String> add(Student student);

    List<StudentResponseVo> getStu();

    void addBatch(List<Student> list);

    Result<IPage<StudentResponseVo>> getTeaTudent(int page);

    Role getRole(Integer id);
}
